package com.bitejiuyeke.job_publish.dao;

import com.bitejiuyeke.job_publish.model.FavoriteRecord;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface FavoriteRecordMapper {
    int insert(FavoriteRecord row);

    int insertSelective(FavoriteRecord row);

    FavoriteRecord selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(FavoriteRecord row);

    int updateByPrimaryKey(FavoriteRecord row);

    FavoriteRecord selectNormalByUserIdAndJobId(FavoriteRecord row);

    int selectTotalByUser(FavoriteRecord row);

    List<FavoriteRecord> selectPageByUser (FavoriteRecord row);
}